package com.wochao.web.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wochao.model.entity.ViewAppointment;
import com.wochao.web.app.vo.appointment.AppointmentDetailVo;
import com.wochao.web.app.vo.appointment.AppointmentItemVo;

import java.util.List;

public interface ViewAppointmentService extends IService<ViewAppointment> {
    /**
     * 用户查询个人预约看房列表
     *
     * @param userId
     * @return
     */
    List<AppointmentItemVo> SelectRoomListByUserId(Long userId);

    /**
     * 根据ID查询预约详情信息
     *
     * @param id
     * @return
     */
    AppointmentDetailVo getDetailById(Long id);
}
